package nwsimplex.core;

import java.util.LinkedList;
import java.util.List;
import nwsimplex.graph.Edge;
import nwsimplex.graph.SpanningTree;
import nwsimplex.graph.Vertex;
import nwsimplex.io.read.model.RawGraphData;

/**
 *
 * @author Kseniya
 */
public class SpanningTreeFactory extends SpanningTreeFactoryAbstract {

    private final List<Vertex> vertices;
    private final List<Edge> edges;

    public SpanningTreeFactory(RawGraphData data) {
        this.vertices = new LinkedList<>(data.getVertices());
        this.edges = new LinkedList<>(data.getEdges());
    }

    @Override
    public SpanningTree createSpanningTree() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
